package com.yyq.javastudy;

import sun.applet.Main;

/**
 * @author yyq
 * @create 2021-08-01 11:13
 */
public class MyThread extends Thread{
       public void run(){
           System.out.println("yangyunqing");
       }

       public static void method1(Persion p){
           p.myself();
       }
       public static void main(String[] args){
           System.out.println(Student.i);

            System.out.println(Student.total);
            Student yyq  = new Student(23,"yangyunqing");
            System.out.println(Student.total);
            Student dsb  = new Student(23,"dsb");
            System.out.println(Student.total);
//           method1(yyq);
//           yyq.school=" zzu ";
//           yyq.myshool();
//           yyq.myself();
//           Integer i=3;
//           int x=i;
//           System.out.println(x);
//           //利用包装类实现 字符串--->基本数据类型
//           String s="123";
//           int j= new Integer(s);
//           System.out.println(j);
//           //利用包装类String实现  基本数据类型------>字符串
//           String ss=String.valueOf(j);
//           System.out.println(ss);


       }

}
